﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Web.Core;

namespace Yuanlin.Business
{
    public enum CompanyCardFlag
    {
        NoSet=0,
        FavoritesCard=1,//收藏卡片
        SubmitCard = 2,//递交卡片
    }

    public class CompanyCard : Entity
    {

        private Property<int> companyUserId = new Property<int>();//名片公司的EntityId
        private Property<int> province = new Property<int>();
        private Property<int> city = new Property<int>();
        private Property<int> town = new Property<int>();
        private Property<int> smallTown = new Property<int>();
        private Property<int> flag = new Property<int>();//1表示收藏名片，2表示递交名片
        private Property<int> userId = new Property<int>();
        private Property<int> isRegisterCompany = new Property<int>();//是否为注册公司,1表示是
        private Property<string> companyName = new Property<string>();
        private Property<string> companyAddress = new Property<string>();
        private Property<string> companyContactPhone = new Property<string>();
        private Property<string> companyPostCode = new Property<string>();
        private Property<string> companyFaxNumber = new Property<string>();
        private Property<string> companyEmail = new Property<string>();
        private Property<string> companySite = new Property<string>();
        private Property<string> companyQQ = new Property<string>();
        private Property<string> companyMSN = new Property<string>();
        private Property<string> companyDescription = new Property<string>();
        private Property<string> companyTypes = new Property<string>();
        private Property<string> companyFixedTelephone1 = new Property<string>();
        private Property<string> companyFixedTelephone2 = new Property<string>();
        private Property<string> companyScale = new Property<string>();

        public Property<int> CompanyUserId
        {
            get
            {
                return companyUserId;
            }
            set
            {
                companyUserId = value;
            }
        }
        public Property<int> Province
        {
            get
            {
                return province;
            }
            set
            {
                province = value;
            }
        }
        public Property<int> City
        {
            get
            {
                return city;
            }
            set
            {
                city = value;
            }
        }
        public Property<int> Town
        {
            get
            {
                return town;
            }
            set
            {
                town = value;
            }
        }
        public Property<int> SmallTown
        {
            get
            {
                return smallTown;
            }
            set
            {
                smallTown = value;
            }
        }
        public Property<int> Flag
        {
            get
            {
                return flag;
            }
            set
            {
                flag = value;
            }
        }
        public Property<int> UserId
        {
            get
            {
                return userId;
            }
            set
            {
                userId = value;
            }
        }
        public Property<int> IsRegisterCompany
        {
            get { return isRegisterCompany; }
            set { isRegisterCompany = value; }
        }
        public Property<string> CompanyName
        {
           get { return companyName; }
           set { companyName = value; }
        }
        public Property<string> CompanyAddress
        {
           get { return companyAddress; }
           set { companyAddress = value; }
        }
        public Property<string> CompanyContactPhone
        {
           get { return companyContactPhone; }
           set { companyContactPhone = value; }
        }
        public Property<string> CompanyPostCode
        {
           get { return companyPostCode; }
           set { companyPostCode = value; }
        }
        public Property<string> CompanyFaxNumber
        {
           get { return companyFaxNumber; }
           set { companyFaxNumber = value; }
        }
        public Property<string> CompanyEmail
        {
           get { return companyEmail; }
           set { companyEmail = value; }
        }
        public Property<string> CompanyQQ
        {
           get { return companyQQ; }
           set { companyQQ = value; }
        }
        public Property<string> CompanyMSN
        {
           get { return companyMSN; }
           set { companyMSN = value; }
        }
        public Property<string> CompanyTypes
        {
            get
            {
                return companyTypes;
            }
            set
            {
                companyTypes = value;
            }
        }
        public Property<string> CompanySite
        {
            get { return companySite; }
            set { companySite = value; }
        }
        public Property<string> CompanyFixedTelephone1
        {
            get { return companyFixedTelephone1; }
            set { companyFixedTelephone1 = value; }
        }
        public Property<string> CompanyFixedTelephone2
        {
            get { return companyFixedTelephone2; }
            set { companyFixedTelephone2 = value; }
        }
        public Property<string> CompanyDescription
        {
            get { return companyDescription; }
            set { companyDescription = value; }
        }
        public Property<string> CompanyScale
        {
            get { return companyScale; }
            set { companyScale = value; }
        }
    }
}